package com.aaa.service;

import com.aaa.dao.FOrderDao;
import com.aaa.entity.FOrder;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FOrderService implements FOrderDao {
    @Resource
    FOrderDao fOrderDao;
    @Override
    public List<FOrder> select(Integer pageCode, Integer pageSize,FOrder fOrder) {
        Integer a=(pageCode-1)*pageSize;
        return fOrderDao.select(a, pageSize,fOrder);
    }
}
